#include <stdio.h>

int main() 
{
    int number=0;
    int i=1;
    int j=1;
  while (scanf("%d",&number)!=EOF)
    {
    	for(i=1;i<=number;i++)
    {
        while(j<=number)
        {
            if(i==j||i+j==number+1)
            printf("*");
            else
            printf(" ");
            j++;
        }
        j=1; 
        printf("\n");
    }

	}
	
    return 0;
}
